home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Ham⁄GPS / SoftKiss.src.1.8 Folder / SoftKiss.src.1.8 / core / n3liw_mac_includes.h < prev    next >
Text File  |  1993-03-07  |  7KB  |  523 lines

  1. #ifndef _XX_n3liw_mac_includes
  2. #define _XX_n3liw_mac_includes
  3.  
  4. /*
  5.  *  Mac #includes.c - source to MacHeaders
  6.  *
  7.  *  To add a header, change its "#if 0" to "#if 1".
  8.  *
  9.  *  To remove a header, change its "#if 1" to "#if 0".
  10.  *
  11.  *  There are some conflicts and order dependencies among the various
  12.  *  headers:
  13.  *
  14.  *    •    <Printing.h> and <PrintTraps.h> cannot both be included.
  15.  *
  16.  *    •    <LoMem.h> and <SysEqu.h> cannot both be included.
  17.  *
  18.  *    •    <asm.h> and <Traps.h>, if both are included, must appear
  19.  *        in that order.  If <Traps.h> is included, traps used in
  20.  *        inline assembly must appear without leading underscores.
  21.  *
  22.  *  If the "Check Pointer Types" option is disabled during the
  23.  *  precompilation process, trap definitions will be stored in
  24.  *  such a way that when a trap is called (in a source file that
  25.  *  #includes the precompiled header), pointer arguments to the
  26.  *  trap will not be matched against the types of corresponding
  27.  *  formal parameters.
  28.  *
  29.  *  This is accomplished by storing "simplified" prototypes for
  30.  *  traps, in which any argument of pointer type is stored as
  31.  *  "void *".  The result closely resembles the treatment of traps
  32.  *  in pre-5.0 versions of THINK C.
  33.  *
  34.  *  (Note that this file is written in such a way that it is immune
  35.  *  to the actual compiler setting of "Check Pointer Types".  Use
  36.  *  the "SIMPLIFY_PROTOTYPES" macro, below, to control whether full
  37.  *  prototypes are retained.)
  38.  *
  39.  */
  40.  
  41. #define _H_MacHeaders
  42.  
  43.  
  44. // set this to 0 (zero) to retain full prototypes
  45. // set this to 1 (one) for "simplified" prototypes
  46. #define SIMPLIFY_PROTOTYPES        0
  47.  
  48.  
  49. // prototype checking level
  50. #if SIMPLIFY_PROTOTYPES
  51.     #if !__option(check_ptrs)
  52.         #undef SIMPLIFY_PROTOTYPES
  53.     #endif
  54.     #pragma options(!check_ptrs)
  55. #else
  56.     #if __option(check_ptrs)
  57.         #undef SIMPLIFY_PROTOTYPES
  58.     #endif
  59.     #pragma options(check_ptrs)
  60. #endif
  61.  
  62.  
  63. // ADSP
  64.     #if 0
  65.         #include <ADSP.h>
  66.     #endif
  67.  
  68. // AIFF
  69.     #if 0
  70.         #include <AIFF.h>
  71.     #endif
  72.  
  73. // Aliases
  74.     #if 0
  75.         #ifdef __APPLETALK__
  76.             #include <Aliases.h>
  77.         #else
  78.             #define __APPLETALK__            // suppress unnecessary #include <AppleTalk.h>
  79.             #include <Aliases.h>
  80.             #undef __APPLETALK__
  81.         #endif
  82.     #endif
  83.  
  84. // AppleEvents
  85.     #if 0
  86.         #ifdef __EPPC__
  87.             #include <AppleEvents.h>
  88.         #else
  89.             #define __EPPC__                // suppress unnecessary #include <EPPC.h>
  90.             #include <AppleEvents.h>
  91.             #undef __EPPC__
  92.         #endif
  93.     #endif
  94.  
  95. // AppleTalk
  96.     #if 0
  97.         #include <AppleTalk.h>
  98.     #endif
  99.  
  100. // Balloons
  101.     #if 0
  102.         #ifdef __TRAPS__
  103.             #include <Balloons.h>
  104.         #else
  105.             #define __TRAPS__                // suppress unnecessary #include <Traps.h>
  106.             #define _Pack14 0xA830            // (well, mostly unnecessary...)
  107.             #include <Balloons.h>
  108.             #undef _Pack14
  109.             #undef __TRAPS__
  110.         #endif
  111.     #endif
  112.  
  113. // BDC
  114.     #if 1
  115.         #include <BDC.h>
  116.     #endif
  117.  
  118. // CommResources
  119.     #if 0
  120.         #include <CommResources.h>
  121.     #endif
  122.  
  123. // Connections
  124.     #if 0
  125.         #include <Connections.h>
  126.     #endif
  127.  
  128. // ConnectionTools
  129.     #if 0
  130.         #include <ConnectionTools.h>
  131.     #endif
  132.  
  133. // Controls
  134.     #if 1
  135.         #include <Controls.h>
  136.     #endif
  137.  
  138. // CRMSerialDevices
  139.     #if 0
  140.         #include <CRMSerialDevices.h>
  141.     #endif
  142.  
  143. // CTBUtilities
  144.     #if 0
  145.         #include <CTBUtilities.h>
  146.     #endif
  147.  
  148. // DatabaseAccess
  149.     #if 0
  150.         #include <DatabaseAccess.h>
  151.     #endif
  152.  
  153. // Desk
  154.     #if 1
  155.         #include <Desk.h>
  156.     #endif
  157.  
  158. // DeskBus
  159.     #if 0
  160.         #include <DeskBus.h>
  161.     #endif
  162.  
  163. // Devices
  164.     #if 1
  165.         #include <Devices.h>
  166.     #endif
  167.  
  168. // Dialogs
  169.     #if 1
  170.         #include <Dialogs.h>
  171.     #endif
  172.  
  173. // DiskInit
  174.     #if 1
  175.         #include <DiskInit.h>
  176.     #endif
  177.  
  178. // Disks
  179.     #if 0
  180.         #include <Disks.h>
  181.     #endif
  182.  
  183. // Editions
  184.     #if 0
  185.         #include <Editions.h>
  186.     #endif
  187.  
  188. // ENET
  189.     #if 0
  190.         #include <ENET.h>
  191.     #endif
  192.  
  193. // EPPC
  194.     #if 0
  195.         #include <EPPC.h>
  196.     #endif
  197.  
  198. // Errors
  199.     #if 1
  200.         #include <Errors.h>
  201.     #endif
  202.  
  203. // Events
  204.     #if 1
  205.         #include <Events.h>
  206.     #endif
  207.  
  208. // Files
  209.     #if 1
  210.         #include <Files.h>
  211.     #endif
  212.  
  213. // FileTransfers
  214.     #if 0
  215.         #include <FileTransfers.h>
  216.     #endif
  217.  
  218. // FileTransferTools
  219.     #if 0
  220.         #include <FileTransferTools.h>
  221.     #endif
  222.  
  223. // Finder
  224.     #if 0
  225.         #include <Finder.h>
  226.     #endif
  227.  
  228. // FixMath
  229.     #if 0
  230.         #include <FixMath.h>
  231.     #endif
  232.  
  233. // Folders
  234.     #if 0
  235.         #include <Folders.h>
  236.     #endif
  237.  
  238. // Fonts
  239.     #if 1
  240.         #include <Fonts.h>
  241.     #endif
  242.  
  243. // GestaltEqu
  244.     #if 0
  245.         #include <GestaltEqu.h>
  246.     #endif
  247.  
  248. // Graf3D
  249.     #if 0
  250.         #include <Graf3D.h>
  251.     #endif
  252.  
  253. // HyperXCmd
  254.     #if 0
  255.         #include <HyperXCmd.h>
  256.     #endif
  257.  
  258. // Icons
  259.     #if 0
  260.         #include <Icons.h>
  261.     #endif
  262.  
  263. // Language
  264.     #if 0
  265.         #include <Language.h>
  266.     #endif
  267.  
  268. // Lists
  269.     #if 1
  270.         #include <Lists.h>
  271.     #endif
  272.  
  273. // Memory
  274.     #if 1
  275.         #include <Memory.h>
  276.     #endif
  277.  
  278. // Menus
  279.     #if 1
  280.         #include <Menus.h>
  281.     #endif
  282.  
  283. // MIDI
  284.     #if 0
  285.         #include <MIDI.h>
  286.     #endif
  287.  
  288. // Notification
  289.     #if 1
  290.         #include <Notification.h>
  291.     #endif
  292.  
  293. // OSEvents
  294.     #if 1
  295.         #include <OSEvents.h>
  296.     #endif
  297.  
  298. // OSUtils
  299.     #if 1
  300.         #include <OSUtils.h>
  301.     #endif
  302.  
  303. // Packages
  304.     #if 0
  305.         #include <Packages.h>
  306.     #endif
  307.  
  308. // Palette
  309.     #if 0
  310.         #include <Palette.h>
  311.     #endif
  312.  
  313. // Palettes
  314.     #if 0
  315.         #include <Palettes.h>
  316.     #endif
  317.  
  318. // Picker
  319.     #if 0
  320.         #include <Picker.h>
  321.     #endif
  322.  
  323. // PictUtil
  324.     #if 0
  325.         #include <PictUtil.h>
  326.     #endif
  327.  
  328. // Power
  329.     #if 0
  330.         #include <Power.h>
  331.     #endif
  332.  
  333. // PPCToolBox
  334.     #if 0
  335.         #include <PPCToolBox.h>
  336.     #endif
  337.  
  338. // Printing
  339.     #if 0
  340.         #include <Printing.h>
  341.     #endif
  342.  
  343. // PrintTraps
  344.     #if 0
  345.         #include <PrintTraps.h>
  346.     #endif
  347.  
  348. // Processes
  349.     #if 0
  350.         #include <Processes.h>
  351.     #endif
  352.  
  353. // QDOffscreen
  354.     #if 0
  355.         #include <QDOffscreen.h>
  356.     #endif
  357.  
  358. // Quickdraw
  359.     #if 1
  360.         #include <Quickdraw.h>
  361.     #endif
  362.  
  363. // Resources
  364.     #if 1
  365.         #include <Resources.h>
  366.     #endif
  367.  
  368. // Retrace
  369.     #if 0
  370.         #include <Retrace.h>
  371.     #endif
  372.  
  373. // ROMDefs
  374.     #if 0
  375.         #include <ROMDefs.h>
  376.     #endif
  377.  
  378. // SANE
  379.     #if 0
  380.         #include <SANE.h>
  381.     #endif
  382.  
  383. // Scrap
  384.     #if 1
  385.         #include <Scrap.h>
  386.     #endif
  387.  
  388. // Script
  389.     #if 0
  390.         #include <Script.h>
  391.     #endif
  392.  
  393. // SCSI
  394.     #if 0
  395.         #include <SCSI.h>
  396.     #endif
  397.  
  398. // SegLoad
  399.     #if 1
  400.         #include <SegLoad.h>
  401.     #endif
  402.  
  403. // Serial
  404.     #if 0
  405.         #include <Serial.h>
  406.     #endif
  407.  
  408. // ShutDown
  409.     #if 0
  410.         #include <ShutDown.h>
  411.     #endif
  412.  
  413. // Slots
  414.     #if 0
  415.         #include <Slots.h>
  416.     #endif
  417.  
  418. // Sound
  419.     #if 0
  420.         #include <Sound.h>
  421.     #endif
  422.  
  423. // SoundInput
  424.     #if 0
  425.         #include <SoundInput.h>
  426.     #endif
  427.  
  428. // StandardFile
  429.     #if 1
  430.         #include <StandardFile.h>
  431.     #endif
  432.  
  433. // Start
  434.     #if 0
  435.         #include <Start.h>
  436.     #endif
  437.  
  438. // SysEqu
  439.     #if 0
  440.         #include <SysEqu.h>
  441.     #endif
  442.  
  443. // Terminals
  444.     #if 0
  445.         #include <Terminals.h>
  446.     #endif
  447.  
  448. // TerminalTools
  449.     #if 0
  450.         #include <TerminalTools.h>
  451.     #endif
  452.  
  453. // TextEdit
  454.     #if 1
  455.         #include <TextEdit.h>
  456.     #endif
  457.  
  458. // Timer
  459.     #if 1
  460.         #include <Timer.h>
  461.     #endif
  462.  
  463. // ToolUtils
  464.     #if 1
  465.         #include <ToolUtils.h>
  466.     #endif
  467.  
  468. // Types
  469.     #if 1
  470.         #include <Types.h>
  471.     #endif
  472.  
  473. // Values
  474.     #if 0
  475.         #include <Values.h>
  476.     #endif
  477.  
  478. // Video
  479.     #if 0
  480.         #include <Video.h>
  481.     #endif
  482.  
  483. // Windows
  484.     #if 1
  485.         #include <Windows.h>
  486.     #endif
  487.  
  488. // pascal.h
  489.     #if 1
  490.         #include <pascal.h>
  491.     #endif
  492.  
  493. // asm.h
  494.     #if 1
  495.         #include <asm.h>
  496.     #endif
  497.  
  498. // LoMem
  499.     #if 1
  500.         #include <LoMem.h>
  501.     #endif
  502.  
  503. // THINK
  504.     #if 1
  505.         #include <THINK.h>
  506.     #endif
  507.  
  508. // Traps
  509.     #if 0
  510.         #include <Traps.h>
  511.     #endif
  512.  
  513.  
  514. // restore "Check Pointer Types" to previous setting
  515. #if SIMPLIFY_PROTOTYPES
  516.     #pragma options(check_ptrs)
  517. #elif defined(SIMPLIFY_PROTOTYPES)
  518.     #pragma options(!check_ptrs)
  519. #endif
  520. #undef SIMPLIFY_PROTOTYPES
  521.  
  522. #endif
  523.